package com.ynny.mapper;

import com.ynny.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    //插入多条学生数据
    int insertStudent(@Param("student") List<Student> student);


    //根据学号删除学生记录
    int deleteStudent(String studentId);
    //根据学号,班级查询学生记录
    List<Student> selectStudent(@Param("studentId") String studentId,@Param("classId") String classId);
    //根据学号修改学生记录
    int updateStudent(Student student);
}
